package com.sgb.kjwl.view.ui.adapter.packers;

import android.content.Context;
import android.view.View;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.kjwl.databinding.ItemPackerFirstContentTitleBinding;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

/**
 *
 * @author younghow
 * @date 2021/8/18
 * 依据PackersFragment2修改抽取功能，
 * description:工队首页上半部分的adapter
 */
public class PackersFirstContentTitleAdapter extends BaseRecycleAdapter<String> {


    public PackersFirstContentTitleAdapter(Context context, List<String> data) {
        super(context, R.layout.item_packer_first_content_title, data);
    }

    @Override
    public void convert(ItemViewHolder holder, String entity) {
        holder.setBinding(BR.name, entity);
    }
}
